import React from "react"

const Index = () => {
  const userInfo = JSON.parse(localStorage.getItem("userInfo"))
  return (
    <div>
      <div>
        <img src={userInfo.avatar}></img>
        <span>{userInfo.nickname}</span>
      </div>
    </div>
  )
}

export default Index
